import { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    path: '/customer-service',
    name: 'CustomerService',
    component: () => import('/@/components/CustomerService/index.vue'),
    meta: {
      title: '小智智能客服',
      icon: 'ChatDotRound',
      order: 100
    }
  },
  {
    path: '/work-order',
    name: 'WorkOrder',
    component: () => import('/@/views/workOrder/index.vue'),
    meta: {
      title: '工单管理',
      icon: 'Document',
      order: 101
    }
  },
  {
    path: '/knowledge-base',
    name: 'KnowledgeBase',
    component: () => import('/@/views/knowledgeBase/index.vue'),
    meta: {
      title: '知识库管理',
      icon: 'Collection',
      order: 102
    }
  }
];

export default routes;
